//package com.c4p.authManagerConf;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;
//import org.springframework.security.config.web.server.ServerHttpSecurity;
//import org.springframework.security.web.server.SecurityWebFilterChain;
//
//@Configuration
//@EnableWebFluxSecurity
//public class WebSecurityConfig {
//
//    @Bean
//    public SecurityWebFilterChain springWebFilterChain(ServerHttpSecurity http) throws Exception {
//        return http.httpBasic().and()
//                .csrf().disable()
//                .cors().disable()
//                .authorizeExchange()
//                .pathMatchers("/**").authenticated()
//                .anyExchange().permitAll()
//                .and()
//                .build();
//    }
//
//}
